package com.hs.shirodemo01.mapper;

import com.hs.shirodemo01.pojo.TbRole;
import com.hs.shirodemo01.pojo.TbRolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郭敖
 * @since 2023-08-18
 */
@Mapper
public interface TbRolePermissionMapper extends BaseMapper<TbRolePermission> {
    int deleteByRoleIdInt(Integer roleId);

    int insertByRoleIds(TbRole role);
}
